package com.hibernate.chapter1;

import javax.persistence.Embeddable;

@Embeddable
public class SchoolDetails {
	private int schoolranking;
	private String schoolAddress;
	public int getSchoolranking() {
		return schoolranking;
	}
	public void setSchoolranking(int schoolranking) {
		this.schoolranking = schoolranking;
	}
	public String getSchoolAddress() {
		return schoolAddress;
	}
	public void setSchoolAddress(String schoolAddress) {
		this.schoolAddress = schoolAddress;
	}
}
